home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 2 / BBS in a box - Trilogy II.iso / Files / Hyper / C-Cl / Chaos Theory / cards.xml < prev    next >
Encoding:
Text File  |  1992-03-11  |  29.0 KB  |  788 lines

  1. card_2925.xml
  2. <?xml version="1.0" encoding="utf-8" ?>
  3. <!DOCTYPE card PUBLIC "-//Apple, Inc.//DTD card V 2.0//EN" "" >
  4. <card>
  5.     <id>2925</id>
  6.     <filler1>0</filler1>
  7.     <cantDelete> <true /> </cantDelete>
  8.     <showPict> <true /> </showPict>
  9.     <dontSearch> <false /> </dontSearch>
  10.     <owner>2750</owner>
  11.     <link rel="stylesheet" type="text/css" href="stylesheet_3179.css" />
  12.     <part>
  13.         <id>1</id>
  14.         <type>button</type>
  15.         <visible> <true /> </visible>
  16.         <reserved5> 0 </reserved5>
  17.         <reserved4> 0 </reserved4>
  18.         <reserved3> 0 </reserved3>
  19.         <reserved2> 0 </reserved2>
  20.         <reserved1> 0 </reserved1>
  21.         <enabled> <true /> </enabled>
  22.         <rect>
  23.             <left>196</left>
  24.             <top>200</top>
  25.             <right>294</right>
  26.             <bottom>221</bottom>
  27.         </rect>
  28.         <style>shadow</style>
  29.         <showName> <true /> </showName>
  30.         <highlight> <false /> </highlight>
  31.         <autoHighlight> <false /> </autoHighlight>
  32.         <sharedHighlight> <true /> </sharedHighlight>
  33.         <family>0</family>
  34.         <titleWidth>0</titleWidth>
  35.         <icon>0</icon>
  36.         <textAlign>center</textAlign>
  37.         <font>Chicago</font>
  38.         <textSize>12</textSize>
  39.         <textStyle>plain</textStyle>
  40.         <name>Chaos</name>
  41.         <script>on mouseup
  42. global x,r,y,zinc,lastzinc,counter,drawer,z,soundit,marker
  43. put "0" into iterater
  44. if marker = empty then put "0" into marker
  45. set the hilite of me to not the hilite of me
  46. if the hilite of me = false then exit mouseup
  47. if r = empty then
  48. answer "Please choose a Verhulst number first"
  49. repeat 3
  50. set lockscreen to true
  51. repeat with i = 2 to 8
  52. set hilite of cd btn i to true
  53. end repeat
  54. set lockscreen to false
  55. wait 3
  56. set lockscreen to true
  57. repeat with i = 2 to 8
  58. set hilite of cd btn i to false
  59. end repeat
  60. set lockscreen to false
  61. wait 3
  62. end repeat
  63. end if
  64. put r into cd fld rate
  65. put "0" into cd fld iteration
  66. set linesize to 1
  67. show cd fld stop
  68. repeat until the mouse is down
  69. add 1 to cd fld iteration
  70. set numberformat to ".########"
  71. put r * x* (1-x) into x
  72. put x into cd fld population
  73. put trunc(180-x*100) into y -- moves the hand
  74. get the loc of cd btn plot
  75. put y into item 2 of it
  76. set the loc of cd btn plot to it
  77. put it into zinc
  78. if drawer = 1 then drawit
  79. if soundit = 1 then play harpsichord tempo 500 60 +trunc (y/20)
  80. end repeat
  81. put empty into counter
  82. put empty into zinc
  83. put empty into lastzinc
  84. set the loc of cd btn plot to 226,128
  85. put "0" into marker
  86. choose browse tool
  87. set the hilite of me to false
  88. hide cd fld stop
  89. end mouseup
  90.  
  91.  
  92. on drawit
  93. global zinc,lastzinc,counter,marker,drawer
  94. if item 1 of zinc = "226" then add 75 to item 1 of zinc
  95. if lastzinc = empty then put zinc into lastzinc
  96. if marker = 41 then
  97. put "0" into marker
  98. put 0 into counter
  99. put "301" into item 1 of lastzinc
  100. put "301" into item 1 of zinc
  101. choose "select tool"
  102. domenu "select all"
  103. domenu "cut picture"
  104. choose "line tool"
  105. end if
  106. choose "line tool"
  107. add 5 to counter
  108. add counter to item 1 of zinc
  109. drag from lastzinc to zinc
  110. put zinc into lastzinc
  111. add 1 to marker
  112. end drawit
  113. </script>
  114.     </part>
  115.     <part>
  116.         <id>2</id>
  117.         <type>button</type>
  118.         <visible> <true /> </visible>
  119.         <reserved5> 0 </reserved5>
  120.         <reserved4> 0 </reserved4>
  121.         <reserved3> 0 </reserved3>
  122.         <reserved2> 0 </reserved2>
  123.         <reserved1> 0 </reserved1>
  124.         <enabled> <true /> </enabled>
  125.         <rect>
  126.             <left>120</left>
  127.             <top>320</top>
  128.             <right>167</right>
  129.             <bottom>342</bottom>
  130.         </rect>
  131.         <style>shadow</style>
  132.         <showName> <true /> </showName>
  133.         <highlight> <false /> </highlight>
  134.         <autoHighlight> <true /> </autoHighlight>
  135.         <sharedHighlight> <true /> </sharedHighlight>
  136.         <family>0</family>
  137.         <titleWidth>0</titleWidth>
  138.         <icon>0</icon>
  139.         <textAlign>center</textAlign>
  140.         <font>Chicago</font>
  141.         <textSize>12</textSize>
  142.         <textStyle>plain</textStyle>
  143.         <name>2.7</name>
  144.         <script>on mouseup
  145. global r,x
  146. put the short name of the target into r
  147. put .01 into x
  148. put r into msg
  149. end mouseup
  150.  
  151. </script>
  152.     </part>
  153.     <part>
  154.         <id>3</id>
  155.         <type>button</type>
  156.         <visible> <true /> </visible>
  157.         <reserved5> 0 </reserved5>
  158.         <reserved4> 0 </reserved4>
  159.         <reserved3> 0 </reserved3>
  160.         <reserved2> 0 </reserved2>
  161.         <reserved1> 0 </reserved1>
  162.         <enabled> <true /> </enabled>
  163.         <rect>
  164.             <left>166</left>
  165.             <top>320</top>
  166.             <right>213</right>
  167.             <bottom>342</bottom>
  168.         </rect>
  169.         <style>shadow</style>
  170.         <showName> <true /> </showName>
  171.         <highlight> <false /> </highlight>
  172.         <autoHighlight> <true /> </autoHighlight>
  173.         <sharedHighlight> <true /> </sharedHighlight>
  174.         <family>0</family>
  175.         <titleWidth>0</titleWidth>
  176.         <icon>0</icon>
  177.         <textAlign>center</textAlign>
  178.         <font>Chicago</font>
  179.         <textSize>12</textSize>
  180.         <textStyle>plain</textStyle>
  181.         <name>2.9</name>
  182.         <script>on mouseup
  183. global r,x
  184. put the short name of the target into r
  185. put .01 into x
  186. put r into msg
  187. end mouseup
  188.  
  189. </script>
  190.     </part>
  191.     <part>
  192.         <id>4</id>
  193.         <type>button</type>
  194.         <visible> <true /> </visible>
  195.         <reserved5> 0 </reserved5>
  196.         <reserved4> 0 </reserved4>
  197.         <reserved3> 0 </reserved3>
  198.         <reserved2> 0 </reserved2>
  199.         <reserved1> 0 </reserved1>
  200.         <enabled> <true /> </enabled>
  201.         <rect>
  202.             <left>212</left>
  203.             <top>320</top>
  204.             <right>259</right>
  205.             <bottom>342</bottom>
  206.         </rect>
  207.         <style>shadow</style>
  208.         <showName> <true /> </showName>
  209.         <highlight> <false /> </highlight>
  210.         <autoHighlight> <true /> </autoHighlight>
  211.         <sharedHighlight> <true /> </sharedHighlight>
  212.         <family>0</family>
  213.         <titleWidth>0</titleWidth>
  214.         <icon>0</icon>
  215.         <textAlign>center</textAlign>
  216.         <font>Chicago</font>
  217.         <textSize>12</textSize>
  218.         <textStyle>plain</textStyle>
  219.         <name>2.96</name>
  220.         <script>on mouseup
  221. global r,x
  222. put the short name of the target into r
  223. put .01 into x
  224. put r into msg
  225. end mouseup
  226.  
  227. </script>
  228.     </part>
  229.     <part>
  230.         <id>5</id>
  231.         <type>button</type>
  232.         <visible> <true /> </visible>
  233.         <reserved5> 0 </reserved5>
  234.         <reserved4> 0 </reserved4>
  235.         <reserved3> 0 </reserved3>
  236.         <reserved2> 0 </reserved2>
  237.         <reserved1> 0 </reserved1>
  238.         <enabled> <true /> </enabled>
  239.         <rect>
  240.             <left>258</left>
  241.             <top>320</top>
  242.             <right>305</right>
  243.             <bottom>342</bottom>
  244.         </rect>
  245.         <style>shadow</style>
  246.         <showName> <true /> </showName>
  247.         <highlight> <false /> </highlight>
  248.         <autoHighlight> <true /> </autoHighlight>
  249.         <sharedHighlight> <true /> </sharedHighlight>
  250.         <family>0</family>
  251.         <titleWidth>0</titleWidth>
  252.         <icon>0</icon>
  253.         <textAlign>center</textAlign>
  254.         <font>Chicago</font>
  255.         <textSize>12</textSize>
  256.         <textStyle>plain</textStyle>
  257.         <name>3.4</name>
  258.         <script>on mouseup
  259. global r,x
  260. put the short name of the target into r
  261. put .01 into x
  262. put r into msg
  263. end mouseup
  264.  
  265. </script>
  266.     </part>
  267.     <part>
  268.         <id>6</id>
  269.         <type>button</type>
  270.         <visible> <true /> </visible>
  271.         <reserved5> 0 </reserved5>
  272.         <reserved4> 0 </reserved4>
  273.         <reserved3> 0 </reserved3>
  274.         <reserved2> 0 </reserved2>
  275.         <reserved1> 0 </reserved1>
  276.         <enabled> <true /> </enabled>
  277.         <rect>
  278.             <left>304</left>
  279.             <top>320</top>
  280.             <right>351</right>
  281.             <bottom>342</bottom>
  282.         </rect>
  283.         <style>shadow</style>
  284.         <showName> <true /> </showName>
  285.         <highlight> <false /> </highlight>
  286.         <autoHighlight> <true /> </autoHighlight>
  287.         <sharedHighlight> <true /> </sharedHighlight>
  288.         <family>0</family>
  289.         <titleWidth>0</titleWidth>
  290.         <icon>0</icon>
  291.         <textAlign>center</textAlign>
  292.         <font>Chicago</font>
  293.         <textSize>12</textSize>
  294.         <textStyle>plain</textStyle>
  295.         <name>3.55</name>
  296.         <script>on mouseup
  297. global r,x
  298. put the short name of the target into r
  299. put .01 into x
  300. put r into msg
  301. end mouseup
  302.  
  303. </script>
  304.     </part>
  305.     <part>
  306.         <id>7</id>
  307.         <type>button</type>
  308.         <visible> <true /> </visible>
  309.         <reserved5> 0 </reserved5>
  310.         <reserved4> 0 </reserved4>
  311.         <reserved3> 0 </reserved3>
  312.         <reserved2> 0 </reserved2>
  313.         <reserved1> 0 </reserved1>
  314.         <enabled> <true /> </enabled>
  315.         <rect>
  316.             <left>350</left>
  317.             <top>320</top>
  318.             <right>397</right>
  319.             <bottom>342</bottom>
  320.         </rect>
  321.         <style>shadow</style>
  322.         <showName> <true /> </showName>
  323.         <highlight> <false /> </highlight>
  324.         <autoHighlight> <true /> </autoHighlight>
  325.         <sharedHighlight> <true /> </sharedHighlight>
  326.         <family>0</family>
  327.         <titleWidth>0</titleWidth>
  328.         <icon>0</icon>
  329.         <textAlign>center</textAlign>
  330.         <font>Chicago</font>
  331.         <textSize>12</textSize>
  332.         <textStyle>plain</textStyle>
  333.         <name>3.99</name>
  334.         <script>on mouseup
  335. global r,x
  336. put the short name of the target into r
  337. put .01 into x
  338. put r into msg
  339. end mouseup
  340.  
  341. </script>
  342.     </part>
  343.     <part>
  344.         <id>8</id>
  345.         <type>button</type>
  346.         <visible> <true /> </visible>
  347.         <reserved5> 0 </reserved5>
  348.         <reserved4> 0 </reserved4>
  349.         <reserved3> 0 </reserved3>
  350.         <reserved2> 0 </reserved2>
  351.         <reserved1> 0 </reserved1>
  352.         <enabled> <true /> </enabled>
  353.         <rect>
  354.             <left>396</left>
  355.             <top>320</top>
  356.             <right>443</right>
  357.             <bottom>342</bottom>
  358.         </rect>
  359.         <style>shadow</style>
  360.         <showName> <true /> </showName>
  361.         <highlight> <false /> </highlight>
  362.         <autoHighlight> <true /> </autoHighlight>
  363.         <sharedHighlight> <true /> </sharedHighlight>
  364.         <family>0</family>
  365.         <titleWidth>0</titleWidth>
  366.         <icon>0</icon>
  367.         <textAlign>center</textAlign>
  368.         <font>Chicago</font>
  369.         <textSize>12</textSize>
  370.         <textStyle>plain</textStyle>
  371.         <name>4.0</name>
  372.         <script>on mouseup
  373. global r,x
  374. put the short name of the target into r
  375. put .01 into x
  376. put r into msg
  377. end mouseup
  378.  
  379. </script>
  380.     </part>
  381.     <part>
  382.         <id>9</id>
  383.         <type>button</type>
  384.         <visible> <true /> </visible>
  385.         <reserved5> 0 </reserved5>
  386.         <reserved4> 0 </reserved4>
  387.         <reserved3> 0 </reserved3>
  388.         <reserved2> 0 </reserved2>
  389.         <reserved1> 0 </reserved1>
  390.         <enabled> <true /> </enabled>
  391.         <rect>
  392.             <left>207</left>
  393.             <top>118</top>
  394.             <right>245</right>
  395.             <bottom>139</bottom>
  396.         </rect>
  397.         <style>transparent</style>
  398.         <showName> <false /> </showName>
  399.         <highlight> <false /> </highlight>
  400.         <autoHighlight> <false /> </autoHighlight>
  401.         <sharedHighlight> <true /> </sharedHighlight>
  402.         <family>0</family>
  403.         <titleWidth>0</titleWidth>
  404.         <icon>19162</icon>
  405.         <textAlign>center</textAlign>
  406.         <font>Chicago</font>
  407.         <textSize>12</textSize>
  408.         <textStyle>plain</textStyle>
  409.         <name>plot</name>
  410.         <script></script>
  411.     </part>
  412.     <part>
  413.         <id>10</id>
  414.         <type>field</type>
  415.         <visible> <true /> </visible>
  416.         <dontWrap> <false /> </dontWrap>
  417.         <dontSearch> <false /> </dontSearch>
  418.         <sharedText> <false /> </sharedText>
  419.         <fixedLineHeight> <true /> </fixedLineHeight>
  420.         <autoTab> <false /> </autoTab>
  421.         <lockText> <false /> </lockText>
  422.         <rect>
  423.             <left>198</left>
  424.             <top>181</top>
  425.             <right>292</right>
  426.             <bottom>197</bottom>
  427.         </rect>
  428.         <style>rectangle</style>
  429.         <autoSelect> <false /> </autoSelect>
  430.         <showLines> <false /> </showLines>
  431.         <wideMargins> <false /> </wideMargins>
  432.         <multipleLines> <false /> </multipleLines>
  433.         <reservedFamily> 0 </reservedFamily>
  434.         <titleWidth>0</titleWidth>
  435.         <icon>0</icon>
  436.         <textAlign>right</textAlign>
  437.         <font>Geneva</font>
  438.         <textSize>12</textSize>
  439.         <textStyle>plain</textStyle>
  440.         <textHeight>16</textHeight>
  441.         <name>population</name>
  442.         <script></script>
  443.     </part>
  444.     <part>
  445.         <id>11</id>
  446.         <type>field</type>
  447.         <visible> <true /> </visible>
  448.         <dontWrap> <false /> </dontWrap>
  449.         <dontSearch> <false /> </dontSearch>
  450.         <sharedText> <false /> </sharedText>
  451.         <fixedLineHeight> <true /> </fixedLineHeight>
  452.         <autoTab> <false /> </autoTab>
  453.         <lockText> <false /> </lockText>
  454.         <rect>
  455.             <left>120</left>
  456.             <top>270</top>
  457.             <right>442</right>
  458.             <bottom>320</bottom>
  459.         </rect>
  460.         <style>rectangle</style>
  461.         <autoSelect> <false /> </autoSelect>
  462.         <showLines> <false /> </showLines>
  463.         <wideMargins> <false /> </wideMargins>
  464.         <multipleLines> <false /> </multipleLines>
  465.         <reservedFamily> 0 </reservedFamily>
  466.         <titleWidth>0</titleWidth>
  467.         <icon>0</icon>
  468.         <textAlign>center</textAlign>
  469.         <font>Geneva</font>
  470.         <textSize>12</textSize>
  471.         <textStyle>bold</textStyle>
  472.         <textHeight>16</textHeight>
  473.         <name></name>
  474.         <script></script>
  475.     </part>
  476.     <part>
  477.         <id>12</id>
  478.         <type>button</type>
  479.         <visible> <true /> </visible>
  480.         <reserved5> 0 </reserved5>
  481.         <reserved4> 0 </reserved4>
  482.         <reserved3> 0 </reserved3>
  483.         <reserved2> 0 </reserved2>
  484.         <reserved1> 0 </reserved1>
  485.         <enabled> <true /> </enabled>
  486.         <rect>
  487.             <left>302</left>
  488.             <top>199</top>
  489.             <right>407</right>
  490.             <bottom>217</bottom>
  491.         </rect>
  492.         <style>radiobutton</style>
  493.         <showName> <true /> </showName>
  494.         <highlight> <false /> </highlight>
  495.         <autoHighlight> <false /> </autoHighlight>
  496.         <sharedHighlight> <true /> </sharedHighlight>
  497.         <family>0</family>
  498.         <titleWidth>0</titleWidth>
  499.         <icon>0</icon>
  500.         <textAlign>center</textAlign>
  501.         <font>Chicago</font>
  502.         <textSize>12</textSize>
  503.         <textStyle>plain</textStyle>
  504.         <name>Show Graph</name>
  505.         <script>on mouseUp
  506. global drawer
  507. set the hilite of me to not the hilite of me
  508. if the hilite of me = true then
  509. put "1" into drawer
  510. else
  511. put "0" into drawer
  512. end if
  513.  
  514. end mouseUp
  515. </script>
  516.     </part>
  517.     <part>
  518.         <id>13</id>
  519.         <type>button</type>
  520.         <visible> <true /> </visible>
  521.         <reserved5> 0 </reserved5>
  522.         <reserved4> 0 </reserved4>
  523.         <reserved3> 0 </reserved3>
  524.         <reserved2> 0 </reserved2>
  525.         <reserved1> 0 </reserved1>
  526.         <enabled> <true /> </enabled>
  527.         <rect>
  528.             <left>382</left>
  529.             <top>220</top>
  530.             <right>433</right>
  531.             <bottom>240</bottom>
  532.         </rect>
  533.         <style>shadow</style>
  534.         <showName> <true /> </showName>
  535.         <highlight> <false /> </highlight>
  536.         <autoHighlight> <true /> </autoHighlight>
  537.         <sharedHighlight> <true /> </sharedHighlight>
  538.         <family>0</family>
  539.         <titleWidth>0</titleWidth>
  540.         <icon>0</icon>
  541.         <textAlign>center</textAlign>
  542.         <font>Chicago</font>
  543.         <textSize>12</textSize>
  544.         <textStyle>plain</textStyle>
  545.         <name>Erase</name>
  546.         <script>on mouseUp
  547. global r,marker
  548. if r = empty then exit mouseup
  549. choose "select tool"
  550. domenu "select all"
  551. domenu "cut picture"
  552. choose "browse tool"
  553. put "0" into marker
  554. end mouseUp
  555. </script>
  556.     </part>
  557.     <part>
  558.         <id>14</id>
  559.         <type>button</type>
  560.         <visible> <true /> </visible>
  561.         <reserved5> 0 </reserved5>
  562.         <reserved4> 0 </reserved4>
  563.         <reserved3> 0 </reserved3>
  564.         <reserved2> 0 </reserved2>
  565.         <reserved1> 0 </reserved1>
  566.         <enabled> <true /> </enabled>
  567.         <rect>
  568.             <left>0</left>
  569.             <top>0</top>
  570.             <right>169</right>
  571.             <bottom>51</bottom>
  572.         </rect>
  573.         <style>transparent</style>
  574.         <showName> <false /> </showName>
  575.         <highlight> <false /> </highlight>
  576.         <autoHighlight> <true /> </autoHighlight>
  577.         <sharedHighlight> <true /> </sharedHighlight>
  578.         <family>0</family>
  579.         <titleWidth>0</titleWidth>
  580.         <icon>0</icon>
  581.         <textAlign>center</textAlign>
  582.         <font>Chicago</font>
  583.         <textSize>12</textSize>
  584.         <textStyle>plain</textStyle>
  585.         <name>ABOUT</name>
  586.         <script>on mouseUp
  587. if the visible of cd fld "about"  = true then
  588. hide cd fld "about"
  589. show cd btn "ACCCK!"
  590. else
  591. hide cd btn "ACCCK!"
  592. Show cd fld "about"
  593. end if
  594. end mouseUp
  595. </script>
  596.     </part>
  597.     <part>
  598.         <id>15</id>
  599.         <type>field</type>
  600.         <visible> <true /> </visible>
  601.         <dontWrap> <false /> </dontWrap>
  602.         <dontSearch> <false /> </dontSearch>
  603.         <sharedText> <false /> </sharedText>
  604.         <fixedLineHeight> <true /> </fixedLineHeight>
  605.         <autoTab> <false /> </autoTab>
  606.         <lockText> <true /> </lockText>
  607.         <rect>
  608.             <left>0</left>
  609.             <top>55</top>
  610.             <right>169</right>
  611.             <bottom>258</bottom>
  612.         </rect>
  613.         <style>scrolling</style>
  614.         <autoSelect> <false /> </autoSelect>
  615.         <showLines> <false /> </showLines>
  616.         <wideMargins> <false /> </wideMargins>
  617.         <multipleLines> <false /> </multipleLines>
  618.         <reservedFamily> 0 </reservedFamily>
  619.         <titleWidth>0</titleWidth>
  620.         <icon>0</icon>
  621.         <textAlign>left</textAlign>
  622.         <font>Geneva</font>
  623.         <textSize>10</textSize>
  624.         <textStyle>plain</textStyle>
  625.         <textHeight>13</textHeight>
  626.         <name>about</name>
  627.         <script>on mouseup
  628. hide me
  629. end mouseup
  630. </script>
  631.     </part>
  632.     <part>
  633.         <id>16</id>
  634.         <type>field</type>
  635.         <visible> <true /> </visible>
  636.         <dontWrap> <false /> </dontWrap>
  637.         <dontSearch> <false /> </dontSearch>
  638.         <sharedText> <false /> </sharedText>
  639.         <fixedLineHeight> <true /> </fixedLineHeight>
  640.         <autoTab> <false /> </autoTab>
  641.         <lockText> <true /> </lockText>
  642.         <rect>
  643.             <left>351</left>
  644.             <top>244</top>
  645.             <right>380</right>
  646.             <bottom>263</bottom>
  647.         </rect>
  648.         <style>rectangle</style>
  649.         <autoSelect> <false /> </autoSelect>
  650.         <showLines> <false /> </showLines>
  651.         <wideMargins> <false /> </wideMargins>
  652.         <multipleLines> <false /> </multipleLines>
  653.         <reservedFamily> 0 </reservedFamily>
  654.         <titleWidth>0</titleWidth>
  655.         <icon>0</icon>
  656.         <textAlign>left</textAlign>
  657.         <font>Geneva</font>
  658.         <textSize>12</textSize>
  659.         <textStyle>plain</textStyle>
  660.         <textHeight>16</textHeight>
  661.         <name>userrate</name>
  662.         <script>on mousedown
  663. repeat until the mouse is up
  664. if cd fld userrate ‚â• 4 then
  665. put "0" into cd fld userrate
  666. end if
  667. add .1 to cd fld userrate
  668. end repeat
  669. end mousedown
  670.  
  671.  
  672.  
  673. </script>
  674.     </part>
  675.     <part>
  676.         <id>17</id>
  677.         <type>button</type>
  678.         <visible> <true /> </visible>
  679.         <reserved5> 0 </reserved5>
  680.         <reserved4> 0 </reserved4>
  681.         <reserved3> 0 </reserved3>
  682.         <reserved2> 0 </reserved2>
  683.         <reserved1> 0 </reserved1>
  684.         <enabled> <true /> </enabled>
  685.         <rect>
  686.             <left>198</left>
  687.             <top>244</top>
  688.             <right>352</right>
  689.             <bottom>263</bottom>
  690.         </rect>
  691.         <style>rectangle</style>
  692.         <showName> <true /> </showName>
  693.         <highlight> <false /> </highlight>
  694.         <autoHighlight> <true /> </autoHighlight>
  695.         <sharedHighlight> <true /> </sharedHighlight>
  696.         <family>0</family>
  697.         <titleWidth>0</titleWidth>
  698.         <icon>0</icon>
  699.         <textAlign>center</textAlign>
  700.         <font>Chicago</font>
  701.         <textSize>12</textSize>
  702.         <textStyle>plain</textStyle>
  703.         <name>Use MY growth rate >></name>
  704.         <script>on mouseUp
  705. global r, x
  706. put cd fld userrate into r
  707. put .01 into x
  708. put r into msg
  709. end mouseUp
  710. </script>
  711.     </part>
  712.     <part>
  713.         <id>18</id>
  714.         <type>button</type>
  715.         <visible> <true /> </visible>
  716.         <reserved5> 0 </reserved5>
  717.         <reserved4> 0 </reserved4>
  718.         <reserved3> 0 </reserved3>
  719.         <reserved2> 0 </reserved2>
  720.         <reserved1> 0 </reserved1>
  721.         <enabled> <true /> </enabled>
  722.         <rect>
  723.             <left>405</left>
  724.             <top>199</top>
  725.             <right>512</right>
  726.             <bottom>217</bottom>
  727.         </rect>
  728.         <style>radiobutton</style>
  729.         <showName> <true /> </showName>
  730.         <highlight> <false /> </highlight>
  731.         <autoHighlight> <false /> </autoHighlight>
  732.         <sharedHighlight> <true /> </sharedHighlight>
  733.         <family>0</family>
  734.         <titleWidth>0</titleWidth>
  735.         <icon>0</icon>
  736.         <textAlign>center</textAlign>
  737.         <font>Chicago</font>
  738.         <textSize>12</textSize>
  739.         <textStyle>plain</textStyle>
  740.         <name>Sound On</name>
  741.         <script>on mouseUp
  742. global soundit
  743. set the hilite of me to not the hilite of me
  744. if the hilite of me = true then
  745. put "1" into soundit
  746. else
  747. put "0" into soundit
  748. end if
  749.  
  750. end mouseUp
  751. </script>
  752.     </part>
  753.     <part>
  754.         <id>19</id>
  755.         <type>button</type>
  756.         <visible> <false /> </visible>
  757.         <reserved5> 0 </reserved5>
  758.         <reserved4> 0 </reserved4>
  759.         <reserved3> 0 </reserved3>
  760.         <reserved2> 0 </reserved2>
  761.         <reserved1> 0 </reserved1>
  762.         <enabled> <true /> </enabled>
  763.         <rect>
  764.             <left>19</left>
  765.             <top>231</top>
  766.             <right>153</right>
  767.             <bottom>253</bottom>
  768.         </rect>
  769.         <style>rectangle</style>
  770.         <showName> <true /> </showName>
  771.         <highlight> <false /> </highlight>
  772.         <autoHighlight> <false /> </autoHighlight>
  773.         <sharedHighlight> <true /> </sharedHighlight>
  774.         <family>0</family>
  775.         <titleWidth>0</titleWidth>
  776.         <icon>0</icon>
  777.         <textAlign>center</textAlign>
  778.         <font>Chicago</font>
  779.         <textSize>12</textSize>
  780.         <textStyle>plain</textStyle>
  781.         <name>ACCCK!</name>
  782.         <script>on mouseUp
  783. hide me
  784. show cd fld about
  785. end mouseUp
  786. </script>
  787.     </part>
  788.     <part>
  789.         <id>20</id>
  790.         <type>button</type>
  791.         <visible> <true /> </visible>
  792.         <reserved5> 0 </reserved5>
  793.         <reserved4> 0 </reserved4>
  794.         <reserved3> 0 </reserved3>
  795.         <reserved2> 0 </reserved2>
  796.         <reserved1> 0 </reserved1>
  797.         <enabled> <true /> </enabled>
  798.         <rect>
  799.             <left>455</left>
  800.             <top>321</top>
  801.             <right>512</right>
  802.             <bottom>342</bottom>
  803.         </rect>
  804.         <style>rectangle</style>
  805.         <showName> <true /> </showName>
  806.         <highlight> <false /> </highlight>
  807.         <autoHighlight> <false /> </autoHighlight>
  808.         <sharedHighlight> <true /> </sharedHighlight>
  809.         <family>0</family>
  810.         <titleWidth>0</titleWidth>
  811.         <icon>0</icon>
  812.         <textAlign>center</textAlign>
  813.         <font>Chicago</font>
  814.         <textSize>12</textSize>
  815.         <textStyle>plain</textStyle>
  816.         <name>Quit</name>
  817.         <script>on mouseUp
  818. domenu "quit hypercard"
  819. end mouseUp
  820. </script>
  821.     </part>
  822.     <part>
  823.         <id>21</id>
  824.         <type>field</type>
  825.         <visible> <true /> </visible>
  826.         <dontWrap> <false /> </dontWrap>
  827.         <dontSearch> <false /> </dontSearch>
  828.         <sharedText> <false /> </sharedText>
  829.         <fixedLineHeight> <true /> </fixedLineHeight>
  830.         <autoTab> <false /> </autoTab>
  831.         <lockText> <true /> </lockText>
  832.         <rect>
  833.             <left>361</left>
  834.             <top>181</top>
  835.             <right>395</right>
  836.             <bottom>197</bottom>
  837.         </rect>
  838.         <style>rectangle</style>
  839.         <autoSelect> <false /> </autoSelect>
  840.         <showLines> <false /> </showLines>
  841.         <wideMargins> <false /> </wideMargins>
  842.         <multipleLines> <false /> </multipleLines>
  843.         <reservedFamily> 0 </reservedFamily>
  844.         <titleWidth>0</titleWidth>
  845.         <icon>0</icon>
  846.         <textAlign>right</textAlign>
  847.         <font>Geneva</font>
  848.         <textSize>12</textSize>
  849.         <textStyle>plain</textStyle>
  850.         <textHeight>16</textHeight>
  851.         <name>iteration</name>
  852.         <script></script>
  853.     </part>
  854.     <part>
  855.         <id>22</id>
  856.         <type>field</type>
  857.         <visible> <true /> </visible>
  858.         <dontWrap> <false /> </dontWrap>
  859.         <dontSearch> <false /> </dontSearch>
  860.         <sharedText> <false /> </sharedText>
  861.         <fixedLineHeight> <true /> </fixedLineHeight>
  862.         <autoTab> <false /> </autoTab>
  863.         <lockText> <true /> </lockText>
  864.         <rect>
  865.             <left>447</left>
  866.             <top>181</top>
  867.             <right>481</right>
  868.             <bottom>197</bottom>
  869.         </rect>
  870.         <style>rectangle</style>
  871.         <autoSelect> <false /> </autoSelect>
  872.         <showLines> <false /> </showLines>
  873.         <wideMargins> <false /> </wideMargins>
  874.         <multipleLines> <false /> </multipleLines>
  875.         <reservedFamily> 0 </reservedFamily>
  876.         <titleWidth>0</titleWidth>
  877.         <icon>0</icon>
  878.         <textAlign>right</textAlign>
  879.         <font>Geneva</font>
  880.         <textSize>12</textSize>
  881.         <textStyle>plain</textStyle>
  882.         <textHeight>16</textHeight>
  883.         <name>rate</name>
  884.         <script></script>
  885.     </part>
  886.     <part>
  887.         <id>23</id>
  888.         <type>field</type>
  889.         <visible> <false /> </visible>
  890.         <dontWrap> <false /> </dontWrap>
  891.         <dontSearch> <false /> </dontSearch>
  892.         <sharedText> <false /> </sharedText>
  893.         <fixedLineHeight> <true /> </fixedLineHeight>
  894.         <autoTab> <false /> </autoTab>
  895.         <lockText> <true /> </lockText>
  896.         <rect>
  897.             <left>120</left>
  898.             <top>270</top>
  899.             <right>441</right>
  900.             <bottom>320</bottom>
  901.         </rect>
  902.         <style>rectangle</style>
  903.         <autoSelect> <false /> </autoSelect>
  904.         <showLines> <false /> </showLines>
  905.         <wideMargins> <false /> </wideMargins>
  906.         <multipleLines> <false /> </multipleLines>
  907.         <reservedFamily> 0 </reservedFamily>
  908.         <titleWidth>0</titleWidth>
  909.         <icon>0</icon>
  910.         <textAlign>center</textAlign>
  911.         <font>Geneva</font>
  912.         <textSize>24</textSize>
  913.         <textStyle>bold</textStyle>
  914.         <textHeight>32</textHeight>
  915.         <name>stop</name>
  916.         <script>on mouseup
  917. hide me
  918. end mouseup
  919. </script>
  920.     </part>
  921.     <part>
  922.         <id>24</id>
  923.         <type>button</type>
  924.         <visible> <true /> </visible>
  925.         <reserved5> 0 </reserved5>
  926.         <reserved4> 0 </reserved4>
  927.         <reserved3> 0 </reserved3>
  928.         <reserved2> 0 </reserved2>
  929.         <reserved1> 0 </reserved1>
  930.         <enabled> <true /> </enabled>
  931.         <rect>
  932.             <left>0</left>
  933.             <top>321</top>
  934.             <right>57</right>
  935.             <bottom>342</bottom>
  936.         </rect>
  937.         <style>rectangle</style>
  938.         <showName> <true /> </showName>
  939.         <highlight> <false /> </highlight>
  940.         <autoHighlight> <true /> </autoHighlight>
  941.         <sharedHighlight> <true /> </sharedHighlight>
  942.         <family>0</family>
  943.         <titleWidth>0</titleWidth>
  944.         <icon>0</icon>
  945.         <textAlign>center</textAlign>
  946.         <font>Chicago</font>
  947.         <textSize>12</textSize>
  948.         <textStyle>plain</textStyle>
  949.         <name>Help</name>
  950.         <script>on mouseUp
  951. show cd fld about
  952. end mouseUp
  953. </script>
  954.     </part>
  955.     <content>
  956.         <layer>card</layer>
  957.         <id>11</id>
  958.         <text>Verhulst's numbers.
  959. Select a growth rate number below and then click the Chaos button.</text>
  960.     </content>
  961.     <content>
  962.         <layer>card</layer>
  963.         <id>15</id>
  964.         <text>ABOUT THIS STACK
  965.  
  966. Let me be clear from the outset. I am not a mathematician nor an authority on this topic. I found it fascinating and wanted to share it.
  967.  
  968. This stack is an introduction to Chaos Theory and Verhulst numbers.  It borrows heavily from scripts in 
  969. "The Hypertalk Bible" by the Waite Group.  Hopefully they will forgive me, this stuff is too important to be buried in scientific archives and minds. 
  970.  
  971. Understanding just enough about this to be dangerous, I have already thought of some interesting applications for chaos theory.
  972.  
  973. Simply put, Chaos Theory attempts to find order where there appears to be none! Could it be useful in predicting the Dow Jones Market indicator? 
  974.  
  975. Verhulst, in 1845, discovered a formula which is used here to identify stability, pattern or chaos fluctuations resulting from specified growth rates (iterations of the growth rate).
  976.  
  977. The formula is:
  978.  
  979. X(iteration) = rx(1-x)
  980.  
  981. r = rate of growth
  982. x = "population", as a range from 0 to 1,where 1 is maximum possible obtainable and 0 is minimum possible obtainable.
  983.  
  984. I believe that Verhulst's formula was directed primarily at Malthusian population theory.
  985.  
  986. So what? Good question.
  987. It appears to be applicable to many other things as well.  This is not to suggest that this is the only formula used in Chaos Theory. I'm confident that there must be dozens.
  988.  
  989. Applying certain growth rates to the Verhulst formula has yielded a magic number. The number is ".6522" according to the "HyperTalk Bible". I found  a slightly different number.
  990.  
  991. The thin line in the graph represents the highest possible static population sustainable. This is the magic ".6522" optimum.
  992.  
  993. The highest optimum I was able to narrow to, after several hundred iterations was between .66312 and .67017.  I assume that the optimum will be .666667.
  994.  
  995. HOW TO USE THIS STACK
  996.  
  997. 1) Choose a growth rate
  998. (either one of the rates provided or your own) If you want to use your own growth rate rather than one provided click the field next to the 
  999. "Use MY growth rate" button. This will run through the range of rates available. These rates range from .1 to 4.0. Once you see a rate that you wish to use, then click the "USE MY GROWTH RATE BUTTON". This will insert that rate into the formula.
  1000. You must select a growth rate before you start the CHAOS.
  1001.  
  1002. 2) Start by clicking the CHAOS button. 
  1003.  
  1004. 3) To stop, just click anywhere.
  1005.  
  1006. If you have toggled the SHOW GRAPH button ON then it will draw the resulting iterations for you. 
  1007.  
  1008. If you have toggled the SOUND ON button, it will play notes for you that correspond the the value of the population.
  1009.  
  1010. You can toggled each of these on or off.
  1011.  
  1012. Speed. Since it does a lot for each iteration, if you have the graphing ON it will be slow, otherwise its pretty fast.
  1013.  
  1014. The graphing option shows the visual effect of 41 iterations at a time. If you dont stop.. it continues on, clears the graph and picks up where it left off.
  1015.  
  1016. The rest of the card should be self evident.
  1017.  
  1018. WHAT HAPPENS?
  1019.  
  1020. A STATIC growth rate, will return a population that will change several times and then settle down into a recurring population number that will not change again or very very little. Sort of like a flat EKG
  1021.  
  1022. A STABLE  PATTERN growth rate, will provide a recurring pattern of population ups and downs that bounce above and below the magic number, but in a discernable pattern.
  1023.  
  1024. An UNSTABLE (chaos) growth rate will oscillate in a non-pattern  manner.
  1025.  
  1026. Growth rates from .1 to 1.2 or so will provide a population increase so small that it will not even register for many iterations.
  1027.  
  1028. Growth rates from 1.3 to 2.7 or so show gradually increasing populations that plane off fairly quickly, but never reach the Optimum.
  1029.  
  1030. The MAGIC part.
  1031.  
  1032. It appears that a growth rate from 2.9 through 3.0 will eventually return  a STATIC STABLE population.
  1033.  
  1034. At a growth rate of  3.1 there appears to be a continuous repeating pattern, with very very small differences in the high  and the low of the repeating pattern. This holds true for growth rates up to 3.4
  1035.  
  1036. At 3.5 there is a curious break down in the repeating cycles. there is still a repeating pattern, but it now involves repeating a series of two cycles rather than 1.
  1037. This hold true for 3.55
  1038.  
  1039. At 3.6 there is furthr breakdown, the recurring pattern changes a bit each time and involves more cycles. This holds true for 3.7 as well.
  1040.  
  1041. At 3.8 the permutation of each cycle begins to obscure the pattern.
  1042.  
  1043. At 3.9 it appears chaos sets in. there is no longer any visually observable pattern.
  1044.  
  1045. At 3.99 and 4.0 it looks like a complete breakdown of any structure. The cycles are wild fluctuations.
  1046.  
  1047. There is no provision for any growth rate above 4.0 as this results almost immediately in the formula reaching for infinity.
  1048.  
  1049. These were my visual observations, and as such hold no scientific truth.
  1050.  
  1051. I was fascinated by this and hope you enjoy the stack and concept.
  1052.  
  1053. Mike Atanasio
  1054. WildCard Software
  1055. 2233 N. Laurel Ave. 
  1056. Phoenix, AZ 85007
  1057.  
  1058. WCTV BBS 
  1059. (602) 252-7928
  1060.  
  1061. ABOUT WILDCARD SOFTWARE
  1062.  
  1063. Other WildCard Software available:
  1064. Ten Key calculator - allows use of the keyboard to do ten key calculations (has scrolling tape) Freeware
  1065.  
  1066. TeleFix - allows Hypercard developers and consultants to FIX or change scripts in remote stacks via modem.
  1067. $50
  1068.  
  1069. MedSystem- A comprehensive Medical Office Patient Tracking and Billing System (Call)
  1070.  
  1071. Under Development:
  1072. WildCard Software has several modem to modem games under development.
  1073.  
  1074. Business simulation modeling for production or process oriented businesses.</text>
  1075.     </content>
  1076.     <content>
  1077.         <layer>card</layer>
  1078.         <id>16</id>
  1079.         <text>.1</text>
  1080.     </content>
  1081.     <content>
  1082.         <layer>card</layer>
  1083.         <id>23</id>
  1084.         <text>Click to stop</text>
  1085.     </content>
  1086.     <name></name>
  1087.     <script>on idle
  1088. put the mouseloc
  1089. end idle
  1090.  
  1091. on opencard
  1092. set the loc of cd btn plot to 226,128
  1093. end opencard
  1094.  
  1095. on closecard
  1096. send mouseup to cd btn "erase"
  1097. put empty into cd fld population
  1098. set the hilite of cd btn "show graph" to false
  1099. set the hilite of cd btn "sound on" to false
  1100. set the hilite of cd btn "chaos" to false
  1101. put empty into cd fld iteration
  1102. put empty into cd fld rate
  1103. put empty into cd fld population
  1104. put ".1" into cd fld userrate
  1105. choose "select tool"
  1106. domenu "select all"
  1107. domenu "cut picture"
  1108. choose "browse tool"
  1109. domenu compact stack
  1110. end closecard
  1111. </script>
  1112. </card>
  1113.  
  1114.  
  1115.